package com.jeesite.modules.digitalize.entity.dto.digitalizeComponentNote;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhaoshuaixiang
 * @date 2023/11/18 14:21
 */
@Data
public class DigitalizeComponentNoteQueryDto {

    @NotNull(message = "类型不能为空")
    @ApiModelProperty(value = "类型[0视点 1批注 2标签]",required = true)
    private Integer noteType;

    @NotBlank(message = "构建id不能为空")
    @ApiModelProperty(value = "构建id", required = true)
    private String componentId;

    @ApiModelProperty("版本id")
    private String versionId;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty(value = "项目id", required = true)
    @NotNull
    private String projectId;
}
